﻿<UserControl x:Class="Mengsk.ERP.App.Price.PriceUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="800" Loaded="UserControl_Loaded">
    <Grid>
        
        <TabControl >
            <TabItem Header="天猫">
                <Grid >
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="3">
                        <TextBlock Text="输入价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbMallOrginalPrice" Margin="3" Width="60" FontSize="16" TextChanged="tbTMallPrice_TextChanged"/>
                        
                        <TextBlock Text="实售价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbMallSellPrice" Margin="3" Width="60" FontSize="16"/>
                        
                        <TextBlock Text="一口价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbMallShowPrice" Margin="3" Width="60" FontSize="16"/>
                        
                        <TextBlock Text="市场价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbTMallMallPrice" Margin="3" Width="60" FontSize="16"/>
                    </StackPanel>
                    <TextBlock Grid.Row="1" FontSize="16" Text="参考价格表" Margin="3" VerticalAlignment="Center"/>
                    <DataGrid Grid.Row="2" AutoGenerateColumns="True" Name="dgvTMallPrice" Margin="3" IsReadOnly="True"/>
                </Grid>
            </TabItem>
            <TabItem Header="网购">
                <Grid >
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="3">
                        <TextBlock Text="输入价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbWangGouPrice" Margin="3" Width="60" FontSize="16" TextChanged="tbWangGouPrice_TextChanged"/>
                        <TextBlock Text="商品价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbWangGouTargetPrice" Margin="3" Width="60" FontSize="16"/>
                        <TextBlock Text="市场价格:" Margin="3" VerticalAlignment="Center" FontSize="16"/>
                        <TextBox Name="tbWangGouMallPrice" Margin="3" Width="60" FontSize="16"/>
                    </StackPanel>
                    <TextBlock Grid.Row="1" FontSize="16" Text="参考价格表" Margin="3" VerticalAlignment="Center"/>
                    <DataGrid Grid.Row="2" AutoGenerateColumns="True" Name="dgvWangGouPrice" Margin="3"/>
                </Grid>
            </TabItem>
            <TabControl.SelectedIndex>0</TabControl.SelectedIndex>
        </TabControl>
    </Grid>
</UserControl>
